package com.group3.hospital.mapper;

import com.group3.hospital.bean.Note;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoteMapper {

    List<Note> queryAll() throws Exception;

    void updateNote(Note note);

    void deleteById(Integer id);

    Note queryById(Integer id);

    void addNote(Note note) throws Exception;
}
